Monday, October 10, 2005

preventing timeout with CruiseControl.NET

I was running an ndoc ant task with cruise control. Since we don't have small classes and our solution is absolutely huge I could only create docs on some of our assemblies. I found a tag for CC.NET that would extend the timeout laps. Example code is below.
The key is the <buildTimeoutSeconds> tag when running the nant task. I basically doubled the time b/c I didn't want to bother it any further. Default is 600 seconds.


<nant>
<executable>C:\TDD\nant-0.85-rc3\bin\nant.exe</executable>
<buildFile>ndoc.build</buildFile>
<targetList>
<target>ndoc</target>
</targetList>
<buildTimeoutSeconds>1200</buildTimeoutSeconds>
</nant>

1 comment:

Oleg Demchenko said...

thanks for posting this!
I was having a problem with nant task timeout and that tag allowed to increase it